@echo off

REM ====[ ADD your computername and installation directory below ]====

if "%computername%" == "LAPTOP-JONATHAN" set root="C:\Documents and Settings\Jonathan\My Documents\repositories\python-pages\application"
if "%computername%" == "LAPTOP-JONATHAN" goto found_computername

if "%computername%" == "DESKTOP-JONATHAN" set root="C:\python-pages\application"
if "%computername%" == "DESKTOP-JONATHAN" goto found_computername

if "%computername%" == "YOUR_COMPUTER" set root="C:\your-installation-directory\python-pages\application"
if "%computername%" == "YOUR_COMPUTER" goto found_computername

REM ====[ Don't change anything below here ]====

echo ERROR: Please add your computername and installation directory in the start-server.bat file
echo Computername = "%computername%"
goto end

:found_computername

REM Configuration file
set SEAGULL_CONFIG=config.xml

REM Python PATH
set PYTHONPATH=%PYTHONPATH%;%root%;%root%\libs


REM Start server
cd root
seagull\server.py --server --pythonpath %PYTHONPATH%

:end
